package com.lxw.report.engine.dataModel.report;


import com.lxw.report.engine.enums.QueryParamFormEnum;
import com.lxw.report.engine.enums.QueryParamSelectFormSourceTypeEnum;
import com.lxw.report.engine.enums.QueryParamTypeEnum;

/**
 * 查询参数设置
 */
public class ReportQueryParam {
    /**
     * 查询参数名称,
     */
    private String name;
    /**
     * 查询参数名称标题,
     */
    private String text;
    /**
     * 查询参数数据类型,
     */
    private QueryParamTypeEnum dataType;
    /**
     * 查询参数表单类型,
     */
    private QueryParamFormEnum formType;
    /**
     * 下拉选项值来源类型,
     */
    private QueryParamSelectFormSourceTypeEnum selectFormSourceType;
    /**
     * 下拉选项值来源值,
     */
    private String selectFormSourceValue;
    /**
     * 查询参数默认值
     */
    private String defaultValue;
    /**
     * 排序,
     */
    private Integer orderIndex;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public QueryParamTypeEnum getDataType() {
        return dataType;
    }

    public void setDataType(QueryParamTypeEnum dataType) {
        this.dataType = dataType;
    }

    public QueryParamFormEnum getFormType() {
        return formType;
    }

    public void setFormType(QueryParamFormEnum formType) {
        this.formType = formType;
    }

    public QueryParamSelectFormSourceTypeEnum getSelectFormSourceType() {
        return selectFormSourceType;
    }

    public void setSelectFormSourceType(QueryParamSelectFormSourceTypeEnum selectFormSourceType) {
        this.selectFormSourceType = selectFormSourceType;
    }

    public String getSelectFormSourceValue() {
        return selectFormSourceValue;
    }

    public void setSelectFormSourceValue(String selectFormSourceValue) {
        this.selectFormSourceValue = selectFormSourceValue;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public Integer getOrderIndex() {
        return orderIndex;
    }

    public void setOrderIndex(Integer orderIndex) {
        this.orderIndex = orderIndex;
    }
}
